package com.xc.shopping_font.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;


import java.util.List;

@Data
@TableName(value = "rate")
public class Rater {

@TableId(type = IdType.AUTO)
    private Long id;

@TableField("product_name")
    private String productName;

    private Integer value;

    private String comment;

    @TableField("rate_customer")
    private String rateCustomer;


    private String createtime;

    private Long pid;

    private String target;

    @TableField("avatar_pic")
    private String avatarPic;

    @TableField(exist = false)
    private List<Rater> children;








}
